Method for legalizing mixed-cell height standard cells of ic

ABSTRACT

A method related to legalize mixed-cell height standard cells of an IC is provided. A global placement of the IC is obtained. A plurality of standard cells of the IC are placed in the global placement. Each standard cell is moved from a position to the nearest row in the global placement. A displacement value of each moved standard cell is obtained in the global placement. The global placement of the IC is divided into a plurality of windows according to the displacement values of the moved standard cells in each window and a dead space corresponding to each moved standard cell in each window. All overlapping areas among the standard cells of each window are removed to obtain a detailed placement. The IC is manufactured according to the detailed placement. The standard cells have different cell heights in each window.

CROSS REFERENCE TO RELATED APPLICATIONS

This Application is a Divisional of U.S. application Ser. No.15/355,431, filed on Nov. 18, 2016 and entitled “METHOD FOR LEGALIZINGMIXED-CELL HEIGHT STANDARD CELLS OF IC”, the contents of which isincorporated herein by reference.

BACKGROUND

In recent years, the development process of such integrated circuits(ICs) as super large scale integrated circuits (LSIs) generally utilizescomputer assisted design (CAD). According to such a CAD-baseddevelopment process, abstract circuit data, which corresponds tofunctions of an integrated circuit to be developed, is defined by usinga so-called hardware description language (HDL), and the defined circuitis used to form a concrete circuit structure to be mounted on a chip.

Before the IC chips are implemented, the placements and the layout areasof the IC chips are considered first, and then the die size of each ICchip can be determined. Furthermore, the die size will affect themanufacturing cost of the IC chip.

Therefore, it is desirable to optimize the layout area and die size ofthe IC chip.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present disclosure are best understood from the followingdetailed description when read with the accompanying figures. It shouldbe noted that, in accordance with the standard practice in the industry,various features are not drawn to scale. In fact, the dimensions of thevarious features may be arbitrarily increased or reduced for clarity ofdiscussion.

FIG. 1A shows a flow chart illustrating a placement procedure in thedesign process of an integrated circuit (IC), in accordance with someembodiments of the disclosure.

FIG. 1B shows an example illustrating a global placement.

FIG. 1C shows an example illustrating a legalized placement.

FIG. 2 shows a method for legalizing mixed-cell height standard cells ofan integrated circuit (IC), in accordance with some embodiments of thedisclosure.

FIG. 3 shows an example illustrating various dead spaces D_(i)corresponding to a standard cell to be moved in a window.

FIGS. 4A, 4B and 4C show a window illustrating a multi-place-row methodof FIG. 2, in accordance with some embodiments of the disclosure.

FIGS. 5A and 5B show a window illustrating a multi-place-row method ofFIG. 2, in accordance with some embodiments of the disclosure.

FIGS. 6A and 6B show a window illustrating a multi-place-row method ofFIG. 2, in accordance with some embodiments of the disclosure.

FIGS. 7A-7D show a window illustrating a multi-place-row method of FIG.2, in accordance with some embodiments of the disclosure.

FIG. 8 shows a computer system 800, in accordance with some embodimentsof the disclosure.

DETAILED DESCRIPTION

The following disclosure provides many different embodiments, orexamples, for implementing different features of the subject matterprovided. Specific examples of components and arrangements are describedbelow to simplify the present disclosure.

These are, of course, merely examples and are not intended to belimiting. In some embodiments, the formation of a first feature over oron a second feature in the description that follows may includeembodiments in which the first and second features are formed in directcontact, and may also include embodiments in which additional featuresmay be formed between the first and second features, such that the firstand second features may not be in direct contact. In addition, thepresent disclosure may repeat reference numerals and/or letters in thevarious examples. This repetition is for the purpose of simplicity andclarity and does not in itself dictate a relationship between thevarious embodiments and/or configurations discussed.

Some variations of the embodiments are described. Throughout the variousviews and illustrative embodiments, like reference numbers are used todesignate like elements. It should be understood that additionaloperations can be provided before, during, and/or after a disclosedmethod, and some of the operations described can be replaced oreliminated for other embodiments of the method.

FIG. 1A shows a flow chart illustrating a placement procedure in adesign process of an integrated circuit (IC), in accordance with someembodiments of the disclosure. In some embodiments, the flow chart ofFIG. 1 is performed by a computer capable of operating an electronicdesign automation (EDA) tool.

In step S110, a global placement (GP) within a chip area of the IC isobtained according to standard cells of the IC. In the global placement,standard cells of the IC are evenly distributed while minimizing atarget cost (e.g. wirelength). As shown in FIG. 1B, a plurality ofstandard cells SC1-SC8 are placed in a global placement 10. In order tosimplify the description, VDD/VSS power rails are omitted in the globalplacement 10. In general, VDD power rails and VSS power rails aremutually interlaced in a placement of IC. In some embodiments, thestandard cells of the IC are obtained by synthesizing aregister-transfer-level (RTL) code describing the function performed bythe IC.

In step S120, a legalization procedure is performed to place thestandard cells into a plurality of rows and remove all overlaps amongthe standard cells, so as to provide a legalized (LG) placement of theIC. As shown in FIG. 1C, the standard cells SC1-SC8 are placed in alegalized placement 20, and the standard cells SC1-SC8 are aligned inrows and between the VDD/VSS power rails. Furthermore, no standard celloverlaps other standard cells in the legalized placement 20.

In step S130, a refinement procedure is performed to refine thelegalized placement and then a detailed placement (DP) is obtained forthe IC.

According to the detailed placement, routing paths of the standard cellsare obtained, and then it is checked whether there is any congestion inthe detailed placement according to the routing paths. If there is nocongestion in the detailed placement, the IC is implemented according tothe detailed placement and routing paths. If there is congestion in thedetailed placement, the chip area of the IC must be increased to handlethe congestion, and then the placement procedure is performed again soas to generate a new detailed placement for the IC.

FIG. 2 shows a method for legalizing mixed-cell height standard cells ofan integrated circuit (IC), in accordance with some embodiments of thedisclosure. In some embodiments, the method of FIG. 2 is performed by acomputer capable of operating an electronic design automation (EDA)tool.

In step S210, each standard cell of the IC is moved to the nearest rowin a global placement of the IC, and a displacement value of the movedstandard cell is obtained. As described above, standard cells of the ICare evenly distributed while minimizing a target cost (e.g. wirelength)in the global placement, as shown in FIG. 1B. In some embodiments, thepositions of the standard cells are determined according to a placementconstraint corresponding to circuit functions of the IC.

In step S220, a cell and row selection procedure is performed to dividethe global placement of the IC into a plurality of windows according tothe displacement values of the moved standard cells and dead spacescorresponding to the moved standard cells. In the global placement, thestandard cells include a plurality of single-height cells and aplurality of multiple-row-height (or multiple-height) cells, i.e. thestandard cells have different cell heights. For example, a portion ofstandard cells are single-height cells, and another portion of standardcells are double-height cells. Furthermore, each window includes aplurality of standard cells located in a plurality of rows.

In step S230, a multi-place-row method is performed on each targetstandard cell, to release the areas of the target standard celloverlapping other standard cells in at least one row of the window ineach window. In some embodiments, a cell height of the target standardcell is different from the overlapping standard cells. Furthermore, insome embodiments, the cell height of the target standard cell is equalto the overlapping standard cells.

In step S240, it is determined whether all standard cells are legalized,i.e. no standard cell overlaps other standard cell in each window. Ifall standard cells are legalized, a legalized placement is obtainedaccording to the windows of the global placement, as shown in FIG. 1C.If any standard cell is not legalized, the cell and row selectionprocedure of step S220 is performed again.

In some embodiments, when the standard cells are legalized in eachwindow, the total displacement tD is obtained according to the followingequations:

${{tD} = {\sum\limits_{i = 1}^{n}\left( {{{{xo}_{i} - {xl}_{i}}} + {{{yo}_{i} - {yl}_{i}}} + {\alpha \times D_{i}}} \right)}},$

wherein i represents the i^(th) standard cell in the window, xo_(i)represents a horizontal coordinate of the i^(th) standard cell in theglobal placement, and yo_(i) represents a vertical coordinate of thei^(th) standard cell in the global placement. Furthermore, xl_(i)represents a legal horizontal coordinate of the i^(th) standard cell inthe legalized placement, and yl_(i) represents a legal verticalcoordinate of the i^(th) standard cell in the legalized placement.Moreover, α represents a user-defined parameter, and D_(i) represents adead space generated or reduced by a target standard cell. The deadspace is a space which cannot be used to place any standard cell, i.e.the dead space is incapable of placing the standard cell. Furthermore,D_(i)<0 means the dead space can be reduced.

In some embodiments, each window has a minimum total displacement tD inthe legalized placement. Thus, the total area of the all dead spaces canbe decreased.

FIG. 3 shows an example illustrating various dead spaces D_(i)corresponding to a standard cell 340 to be moved in a window 300. In thewindow, the rows R1 and R2 are adjacent to each other. A standard cell310 is moved to the nearest rows R1 and R2 from its position (notshown), a standard cell 320 is moved to the nearest row R2 from itsposition (not shown), and a standard cell 330 is moved to the nearestrows R1 and R2 from its position (not shown). Furthermore, the standardcell 340 is moved to the nearest row R1 from its position (not shown).However, the standard cell 340 overlaps the standard cell 310 in the rowR1. In the window 300, if the standard cell 340 is moved to the rightside of the standard cell 310 (as shown in label 360), the dead spaceD_(i) is equal to 0, i.e. D_(i)=0. Conversely, if the standard cell 340is moved to the left side of the standard cell 310 (as shown in label370) and placed into an interval between the standard cells 330 and 310,the dead space D_(i) is decreased, i.e. D_(i)<0.

FIGS. 4A, 4B and 4C show a window 400 illustrating a multi-place-rowmethod of FIG. 2, in accordance with some embodiments of the disclosure.As described above, the standard cells 410-450 are moved to the nearestrow from the positions of a global placement.

In the window 400 of FIG. 4A, the standard cell 410 is a double-heightcell located in the rows R3 and R4. The standard cell 420 is atriple-height cell located in the rows R2-R4. The standard cell 430 is asingle-height cell located in the row R1. The standard cell 440 is asingle-height cell located in the row R2. The standard cell 450 is adouble-height cell located in the rows R1 and R2.

The standard cells 430 and 450 have an overlapping area 435 in the rowR1, i.e. the standard cell 450 has a portion of area (e.g. 435)overlapping the standard cell 430. Furthermore, the standard cells 420and 450 have an overlapping area 425 in the row R2, i.e. the standardcell 450 has another portion of area (e.g. 425) overlapping the standardcell 420. Because the total overlapping area of the standard cell 450(e.g. the sum of the overlapping area 435 of the row R1 and theoverlapping area 425 of the row R2) is larger than that of the otherstandard cells 410-440, the standard cell 450 is selected as a targetstandard cell.

For a target standard cell, a maximum overlapping area located in asingle row is selected to be released first. For example, theoverlapping area 435 of the row R1 is greater than the overlapping area425 of the row R1. Thus, the standard cell 430 and/or the targetstandard cell 450 are moved until the target standard cell 450 does notoverlap the standard cell 430 in the row R1.

In FIG. 4B, the standard cell 430 is moved away from the target standardcell 450 until no overlapping area 435 exists in the row R1. When thetarget standard cell 450 does not overlap the standard cell 430 in therow R1, the target standard cell 450 and the standard cell 430 areclustered as a cluster C1. Furthermore, the cluster C1 can be simulatedinto a target cluster.

For a target cluster, a maximum overlapping area located in a single rowis selected to release first. In the embodiment, the target cluster C1and the standard cell 420 have the overlapping area 425 in the row R2.Thus, the standard cell 420 and/or the target cluster C1 are moved untilthe target cluster C1 does not overlap the standard cell 420 in the rowR2.

In FIG. 4C, the target cluster C1 is moved away from the standard cell420. When the target cluster C1 does not overlap the standard cell 420in the row R2, the target cluster C1 is declustered to obtain thestandard cells 430 and 450. Thus, according to the locations of thestandard cells 410-450 of the window 400, a legalized placement isobtained. As described above, a detailed placement is obtained byrefining the legalized placement, and then subsequent processes areperformed to implement the IC.

FIGS. 5A and 5B show a window 500 illustrating a multi-place-row methodof FIG. 2, in accordance with some embodiments of the disclosure. Asdescribed above, the standard cells 510-550 are moved to the nearest rowfrom the positions of a global placement.

In the window 500 of FIG. 5A, the standard cell 510 is a single-heightcell located in the row R2. The standard cell 520 is a single-heightcell located in the row R1. The standard cell 530 is a single-heightcell located in the row R1. The standard cell 540 is a single-heightcell located in the row R2. The standard cell 550 is a double-heightcell located in the rows R1 and R2.

The standard cells 540 and 550 have an overlapping area 545 in the rowR2, i.e. the standard cell 550 has a portion of an area (e.g. 545)overlapping the standard cell 550. Furthermore, due to the cell heightof the standard cell 550 being higher than that of the standard cell540, the standard cell 550 is selected as a target standard cell. Thus,the standard cell 540 and/or the target standard cell 550 are moveduntil no overlapping area 545 exists in the row R2, i.e. the targetstandard cell 550 does not overlap the standard cell 540 in the row R2.

In FIG. 5B, the standard cell 540 is moved to the standard cell 510 inthe row R2 (as shown in label 570), and the target standard cell 550 ismoved away from the standard cell 510 in the row R2 (as shown in label560). When the target standard cell 550 does not overlap the standardcell 540 in the row R2, a legalized placement is obtained according tothe locations of the standard cells 510-550 of the window 500. Asdescribed above, a detailed placement is obtained by refining thelegalized placement, and then subsequent processes are performed toimplement the IC.

FIGS. 6A and 6B show a window 600 illustrating a multi-place-row methodof FIG. 2, in accordance with some embodiments of the disclosure. Asdescribed above, the standard cells 610-650 are moved to the nearest rowfrom the positions of a global placement.

In the window 600 of FIG. 6A, the standard cell 610 is a single-heightcell located in the row R2. The standard cell 620 is a single-heightcell located in the row R1. The standard cell 630 is a single-heightcell located in the row R1. The standard cell 640 is a single-heightcell located in the row R2. The standard cell 650 is a double-heightcell located in the rows R1 and R2.

The standard cells 630 and 650 have an overlapping area 635 in the rowR1, and the standard cells 640 and 650 have an overlapping area 645 inthe row R2. Due to the cell height of the standard cell 650 being higherthan that of the standard cells 630 and 640, the standard cell 650 isselected as a target standard cell.

For a target standard cell, a maximum overlapping area located in asingle row is selected to release first. For example, the overlappingarea 645 of the row R2 is greater than the overlapping area 635 of therow R1. Thus, the standard cell 640 and/or the target standard cell 650are moved until the target standard cell 650 does not overlap thestandard cell 640 in the row R2.

In FIG. 6B, the standard cell 640 is moved to the standard cell 610 inthe row R2 (as shown in label 660), and the target standard cell 650 ismoved away from the standard cell 610 in the row R2 (as shown in label670). When the target standard cell 650 does not overlap the standardcell 640 in the row R2, i.e. no overlapping area 645 exists in the rowR2, the target standard cell 650 also does not overlap the standard cell630 in the row R1, i.e. no overlapping area 635 exists in the row R1.Thus, a legalized placement is obtained according to the locations ofthe standard cells 610-650 of the window 600. As described above, adetailed placement is obtained by refining the legalized placement, andthen subsequent processes are performed to implement the IC.

FIGS. 7A-7D show a window 700 illustrating a multi-place-row method ofFIG. 2, in accordance with some embodiments of the disclosure. Asdescribed above, the standard cells 710-750 are moved to the nearest rowfrom the positions of a global placement.

In the window 700 of FIG. 7A, the standard cell 710 is a single-heightcell located in the row R2. The standard cell 720 is a single-heightcell located in the row R1. The standard cell 730 is a single-heightcell located in the row R2. The standard cell 740 is a single-heightcell located in the row R1. The standard cell 750 is a double-heightcell located in the rows R1 and R2.

The standard cells 730 and 750 have an overlapping area 735 in the rowR2, and the standard cells 740 and 750 have an overlapping area 745 inthe row R1. Due to the cell height of the standard cell 750 being higherthan that of the standard cells 730 and 740, the standard cell 750 isselected as a target standard cell.

For a target standard cell, a maximum overlapping area located in asingle row is selected to be released first. For example, theoverlapping area 735 of the row R2 is greater than the overlapping area745 of the row R1. Thus, the standard cell 730 and/or the targetstandard cell 750 are moved until the target standard cell 750 does notoverlap the standard cell 730 in the row R2, i.e. no overlapping area735 exists in the row R2.

In FIG. 7B, the standard cell 730 is moved to the standard cell 710 inthe row R2, and the target standard cell 750 is moved away from thestandard cell 710 in the row R2. However, the target standard cell 750does not overlap the standard cell 730 in the row R2, but the standardcell 730 overlaps the standard cell 710, wherein the standard cells 710and 730 have an overlapping area 713 in the row R2. Thus, the targetstandard cell 750, the standard cell 730 and the standard cell 710 areclustered as a cluster C2. Furthermore, the cluster C2 can be simulatedinto a target cluster.

For a target cluster, a maximum overlapping area located in a single rowis selected for release first. In the embodiment, the target cluster C2and the standard cell 740 have the overlapping area 745 in the row R1.Thus, the standard cell 740 and/or the target cluster C2 are moved untilthe target cluster C2 does not overlap the standard cell 740 in the rowR1.

In FIG. 7C, the target cluster C2 is moved away from the standard cell740. When the target cluster C2 does not overlap the standard cell 740in the row R1, no overlapping area 745 exists in the row R1, and thetarget cluster C2 is declustered to obtain the standard cells 710, 730and 750.

In FIG. 7D, after the target standard cell 750 does not overlap theother standard cells 710-740, the standard cell 710 is moved into itsposition of FIG. 7A. Thus, no overlapping area exists in the window 700.Therefore, according to the locations of the standard cells 710-750 ofthe window 700, a legalized placement is obtained. As described above, adetailed placement is obtained by refining the legalized placement, andthen subsequent processes are performed to implement the IC.

FIG. 8 shows a computer system 800, in accordance with some embodimentsof the disclosure. The computer system 800 includes a computer 810, adisplay device 820 and a user input interface 830, wherein the computer810 includes a processor 840, a memory 850, and a storage device 860.The computer 810 is coupled to the display device 820 and the user inputinterface 830, wherein the computer 810 is capable of operating anelectronic design automation (EDA) tool. Furthermore, the computer 810is capable of receiving the information regarding the global placementof the IC and displaying the global placement, the legalized placement,and detailed placement on the display device 820. In some embodiments,the display device 820 is a GUI for the computer 810. Furthermore, thedisplay device 820 and the user input interface 830 can be implementedin the computer 810. The user input interface 830 may be a keyboard, amouse and so on. In the computer 810, the storage device 860 can storethe operating systems (OSs), applications, and data that include inputrequired by the applications and/or output generated by applications.The processor 840 of the computer 810 can perform one or more operations(either automatically or with user input) in any method that isimplicitly or explicitly described in this disclosure. Furthermore,during operation, the processor 840 can load the applications of thestorage device 860 into the memory 850, and then the applications can beused by a user to create, view, and/or edit the related placement for ICdesign.

Embodiments of legalizing mixed-cell height standard cells of an IC areprovided. A global placement is divided into a plurality of windowsaccording to positions of a plurality of standard cells and dead spaces.By clustering and declustering the related standard cells and a targetstandard cell, each overlapping area of the target standard cell can bereleased. In some embodiments, the target standard cell has a highercell height. According to the embodiments, after legalizing themixed-cell height standard cells, no violation is present in theplacement of the IC. Furthermore, row-based legalization andmulti-height cell legalization can be considered simultaneously.

In some embodiments, a method related to legalize mixed-cell heightstandard cells of an IC is provided. A global placement of the IC isobtained, wherein a plurality of standard cells of the IC are placed inthe global placement. Each of the standard cells is moved from aposition to the nearest row in the global placement. A displacementvalue of each of the moved standard cells is obtained in the globalplacement. The global placement of the IC is divided into a plurality ofwindows according to the displacement values of the moved standard cellsin each of the windows and a dead space corresponding to each of themoved standard cells in each of the windows. All overlapping areas amongthe standard cells of each of the windows are removed to obtain adetailed placement. The IC is manufactured according to the detailedplacement. The standard cells have different cell heights in each of thewindows.

In some embodiments, a method related to legalize mixed-cell heightstandard cells of an IC is provided. A global placement of the IC isobtained, wherein a plurality of standard cells of the IC are placed inthe global placement. Each of the standard cells is moved from aposition to a nearest row in the global placement. A displacement valueof each of the moved standard cells is obtained in the global placement.The global placement of the IC is divided into a plurality of windowsaccording to the displacement values of the moved standard cells in eachof the windows. Each overlapping area among a plurality of single-heightcells and at least one multiple-height cell of the standard cells isremoved in each of the windows to obtain a detailed placement. The IC ismanufactured according to the detailed placement.

In some embodiments, a method related to legalize mixed-cell heightstandard cells of an IC is provided. A global placement of the IC isobtained, wherein a plurality of standard cells of the IC are placed inthe global placement. Each of the standard cells is moved from aposition to a nearest row in the global placement to obtain adisplacement value of each of the moved standard cells in the globalplacement. The global placement of the IC is divided into a plurality ofwindows according to the displacement values of the moved standard cellsin each of the windows. A plurality of target standard cells areobtained from the standard cells in each of the windows, wherein each ofthe target standard cells has a plurality of overlapping areasoverlapping the standard cells located in different rows in therespective window. All overlapping areas of the target standard cellsare removed in each of the windows to obtain a detailed placement. TheIC is manufactured according to the detailed placement.

The foregoing outlines features of several embodiments so that thoseskilled in the art may better understand the aspects of the presentdisclosure. Those skilled in the art should appreciate that they mayreadily use the present disclosure as a basis for designing or modifyingother processes and structures for carrying out the same purposes and/orachieving the same advantages of the embodiments introduced herein.Those skilled in the art should also realize that such equivalentconstructions do not depart from the spirit and scope of the presentdisclosure, and that they may make various changes, substitutions, andalterations herein without departing from the spirit and scope of thepresent disclosure.

What is claimed is:
 1. A method related to legalize mixed-cell heightstandard cells of an integrated circuit (IC), comprising: obtaining aglobal placement of the IC, wherein a plurality of standard cells of theIC are placed in the global placement; moving each of the standard cellsfrom a position to a nearest row in the global placement; obtaining adisplacement value of each of the moved standard cells in the globalplacement; dividing the global placement of the IC into a plurality ofwindows according to the displacement values of the moved standard cellsin each of the windows and a dead space corresponding to each of themoved standard cells in each of the windows, wherein the dead space isincapable of placing the standard cell; removing all overlapping areasamong the standard cells of each of the windows to obtain a detailedplacement; and manufacturing the IC according to the detailed placement,wherein the standard cells have different cell heights in each of thewindows.
 2. The method as claimed in claim 1, wherein the step ofremoving all overlapping areas among the standard cells of each of thewindows to obtain the detailed placement further comprises: obtaining afirst target standard cell in the window, wherein the first targetstandard cell has a first area overlapping a first standard cell locatedin a first row of the window, and a second area overlapping a secondstandard cell located in a second row of the window, wherein the firstarea is greater than the second area; moving the first target standardcell and the first standard cell in the first row until the first targetstandard cell does not overlap the first standard cell in the first rowof the window; clustering the first target standard cell and the firststandard cell as a first cluster when the first target standard celldoes not overlap the first standard cell in the first row of the window;and moving the first cluster away from the second standard cell in thesecond row until the second standard cell does not overlap the firstcluster in the second row of the window.
 3. The method as claimed inclaim 2, wherein the step of removing all overlapping areas among thestandard cells of each of the windows to obtain the detailed placementfurther comprises: declustering the first cluster to obtain the firststandard cell and the first target standard cell when the secondstandard cell does not overlap the first cluster in the second row ofthe window.
 4. The method as claimed in claim 2, wherein the first rowis adjacent to the second row in the window.
 5. The method as claimed inclaim 2, wherein the step of removing all overlapping areas among thestandard cells of each of the windows to obtain the detailed placementfurther comprises: determining whether the first cluster overlaps athird standard cell located in a first position of the first row of thewindow; clustering the first cluster and the third standard cell as asecond cluster when the first cluster overlaps the third standard cellin the first row of the window; and moving the second cluster away fromthe second standard cell in the second row until the second standardcell does not overlap the second cluster in the second row of thewindow.
 6. The method as claimed in claim 5, wherein the step ofremoving all overlapping areas among the standard cells of each of thewindows to obtain the detailed placement further comprises: declusteringthe second cluster to obtain the first cluster and the third standardcell when the second standard cell does not overlap the second clusterin the second row of the window; and moving the third standard cell tothe first position in the first row of the window.
 7. The method asclaimed in claim 1, wherein the step of removing all overlapping areasamong the standard cells of each of the windows to obtain the detailedplacement further comprises: obtaining a second target standard cell inthe window, wherein the second target standard cell has a third areaoverlapping a fourth standard cell located in the same row of thewindow, wherein a cell height of the second target standard cell ishigher than that of the fourth standard cell; and moving the secondtarget standard cell and the fourth standard cell in the same row untilthe second target standard cell does not overlap the fourth standardcell in the same row of the window.
 8. A method related to legalizemixed-cell height standard cells of an integrated circuit (IC),comprising: obtaining a global placement of the IC, wherein a pluralityof standard cells of the IC are placed in the global placement; movingeach of the standard cells from a position to a nearest row in theglobal placement; obtaining a displacement value of each of the movedstandard cells in the global placement; dividing the global placement ofthe IC into a plurality of windows according to the displacement valuesof the moved standard cells in each of the windows; removing eachoverlapping area among a plurality of single-height cells and at leastone multiple-height cell of the standard cells in each of the windows toobtain a detailed placement; and manufacturing the IC according to thedetailed placement.
 9. The method as claimed in claim 8, wherein thestep of removing each overlapping area among a plurality ofsingle-height cells and at least one multiple-height cells of thestandard cells in each of the windows to obtain the detailed placementfurther comprises: assigning the multiple-height cell as a first targetstandard cell in the window, wherein the first target standard cell hasa first area overlapping a first standard cell of the single-heightcells located in a first row of the window, and a second areaoverlapping a second standard cell of the single-height cells located ina second row of the window, wherein the first area is greater than thesecond area; moving the first target standard cell and the firststandard cell in the first row until the first target standard cell doesnot overlap the first standard cell in the first row of the window;clustering the first target standard cell and the first standard cell asa first cluster when the first target standard cell does not overlap thefirst standard cell in the first row of the window; and moving the firstcluster away from the second standard cell in the second row until thesecond standard cell does not overlap the first cluster in the secondrow of the window.
 10. The method as claimed in claim 9, wherein thestep of removing each overlapping area among a plurality ofsingle-height cells and at least one multiple-height cells of thestandard cells in each of the windows to obtain the detailed placementfurther comprises: declustering the first cluster to obtain the firststandard cell and the first target standard cell when the secondstandard cell does not overlap the first cluster in the second row ofthe window.
 11. The method as claimed in claim 9, wherein the first rowis adjacent to the second row in the window.
 12. The method as claimedin claim 9, wherein the step of removing each overlapping area among aplurality of single-height cells and at least one multiple-height cellsof the standard cells in each of the windows to obtain the detailedplacement further comprises: determining whether the first clusteroverlaps a third standard cell of the single-height cells located in afirst position of the first row of the window; clustering the firstcluster and the third standard cell as a second cluster when the firstcluster overlaps the third standard cell in the first row of the window;and moving the second cluster away from the second standard cell in thesecond row until the second standard cell does not overlap the secondcluster in the second row of the window.
 13. The method as claimed inclaim 12, wherein the step of removing each overlapping area among aplurality of single-height cells and at least one multiple-height cellsof the standard cells in each of the windows to obtain the detailedplacement further comprises: declustering the second cluster to obtainthe first cluster and the third standard cell when the second standardcell does not overlap the second cluster in the second row of thewindow; and moving the third standard cell to the first position in thefirst row of the window.
 14. The method as claimed in claim 8, whereinthe step of removing each overlapping area among a plurality ofsingle-height cells and at least one multiple-height cells of thestandard cells in each of the windows to obtain the detailed placementfurther comprises: assigning the multiple-height cell as a second targetstandard cell in the window, wherein the second target standard cell hasa third area overlapping a fourth standard cell of the single-heightcells located in the same row of the window; and moving the secondtarget standard cell and the fourth standard cell in the same row untilthe second target standard cell does not overlap the fourth standardcell in the same row of the window.
 15. A method related to legalizemixed-cell height standard cells of an integrated circuit (IC),comprising: obtaining a global placement of the IC, wherein a pluralityof standard cells of the IC are placed in the global placement; movingeach of the standard cells from a position to a nearest row in theglobal placement to obtain a displacement value of each of the movedstandard cells in the global placement; dividing the global placement ofthe IC into a plurality of windows according to the displacement valuesof the moved standard cells in each of the windows; obtaining aplurality of target standard cells from the standard cells in each ofthe windows, wherein each of the target standard cells has a pluralityof overlapping areas overlapping the standard cells located in differentrows in the respective window; removing all overlapping areas of thetarget standard cells in each of the windows to obtain a detailedplacement; and manufacturing the IC according to the detailed placement.16. The method as claimed in claim 15, wherein the step of removing alloverlapping areas of the target standard cells in each of the windows toobtain the detailed placement further comprises: obtaining one of thetarget standard cells in the window, wherein the obtained targetstandard cell has a first area overlapping a first standard cell locatedin a first row of the window, and a second area overlapping a secondstandard cell located in a second row of the window, wherein the firstarea is greater than the second area; moving the obtained targetstandard cell and the first standard cell in the first row until theobtained target standard cell does not overlap the first standard cellin the first row of the window; clustering the obtained target standardcell and the first standard cell as a first cluster when the obtainedtarget standard cell does not overlap the first standard cell in thefirst row of the window; and moving the first cluster away from thesecond standard cell in the second row until the second standard celldoes not overlap the first cluster in the second row of the window. 17.The method as claimed in claim 16, wherein the step of removing alloverlapping areas of the target standard cells in each of the windows toobtain the detailed placement further comprises: declustering the firstcluster to obtain the first standard cell and the obtained targetstandard cell when the second standard cell does not overlap the firstcluster in the second row of the window.
 18. The method as claimed inclaim 16, wherein the first row is adjacent to the second row in thewindow.
 19. The method as claimed in claim 16, wherein the step ofremoving all overlapping areas of the target standard cells in each ofthe windows to obtain the detailed placement further comprises:determining whether the first cluster overlaps a third standard celllocated in a first position of the first row of the window; clusteringthe first cluster and the third standard cell as a second cluster whenthe first cluster overlaps the third standard cell in the first row ofthe window; and moving the second cluster away from the second standardcell in the second row until the second standard cell does not overlapthe second cluster in the second row of the window.
 20. The method asclaimed in claim 19, wherein the step of removing all overlapping areasamong the standard cells of each of the windows to obtain the detailedplacement further comprises: declustering the second cluster to obtainthe first cluster and the third standard cell when the second standardcell does not overlap the second cluster in the second row of thewindow; and moving the third standard cell to the first position in thefirst row of the window.